CUfunc_cache_enum

Function cache configurations

Values

ValueMeaning
CU_FUNC_CACHE_PREFER_NONE0

< no preference for shared memory or L1 (default)

CU_FUNC_CACHE_PREFER_SHARED1

< prefer larger shared memory and smaller L1 cache

CU_FUNC_CACHE_PREFER_L12

< prefer larger L1 cache and smaller shared memory

CU_FUNC_CACHE_PREFER_EQUAL3

< prefer equal sized L1 cache and shared memory

Meta